﻿using System.Drawing;
using System.Web;

namespace WebImageResizer
{
	/// <summary>
	/// Interface to define image filter. An image filter is an action that can be applied to an image
	/// </summary>
	public interface IImageFilter
	{
		/// <summary>
		/// Returns true if modified
		/// </summary>
		/// <param name="context"></param>
		/// <param name="bitmap"></param>
		/// <returns></returns>
		bool Process(HttpContext context, ref Bitmap bitmap);
	}
}